<template>
  <div class="index">
    <Counter />
    <nut-button type="primary" @click="handleClick">Test</nut-button>
    <CustomTabBar />
  </div>
</template>

<script setup lang="ts">
import './index.scss'
import Counter from '../../components/Counter.vue'
import Taro from '@tarojs/taro'
import CustomTabBar from '../../CustomTabBar/index.vue'



function handleClick() {
  Taro.switchTab({
    url: '/pages/my/index'
  })
}
</script>
